package com.yyge.controller.admin.shoppingcart.req;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.yyge.common.vo.req.PageReq;
import com.yyge.entity.ShoppingCart;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @Desc 接收对象
 * @Author: Gityyge
 * @Date: 2023/7/2 20:37:07
 */

@Getter
@Setter
@ToString
@ApiModel(value = "ShoppingCart接口")
public class ShoppingCartReq extends PageReq<ShoppingCart> {
     /**
      * 主键
      */
      @ApiModelProperty(value = "主键")
      private Long id;

     /**
      * 名称
      */
      @ApiModelProperty(value = "名称")
      private String name;

     /**
      * 图片
      */
      @ApiModelProperty(value = "图片")
      private String image;

     /**
      * 主键
      */
      @ApiModelProperty(value = "主键")
      private Long userId;

     /**
      * 商家id
      */
      @ApiModelProperty(value = "商家id")
      private Long merchantId;

     /**
      * 菜品id
      */
      @ApiModelProperty(value = "菜品id")
      private Long dishId;

     /**
      * 口味
      */
      @ApiModelProperty(value = "口味")
      private String dishFlavor;

     /**
      * 数量
      */
      @ApiModelProperty(value = "数量")
      private Integer number;

     /**
      * 金额
      */
      @ApiModelProperty(value = "金额")
      private BigDecimal amount;

     /**
      * 创建时间
      */
      @ApiModelProperty(value = "创建时间")
      private Date createTime;


}
